<!DOCTYPE html>
<html   xmlns="http://www.w3c.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head/>
    <h:body>
        <h:panelGrid>
            <h:outputText value="Last one with auto complete function does not work..."/>
            <p:inputText value="#{inputTextBean.propertyName}"/>
            <p:inputTextarea value="#{inputTextBean.propertyName}"/>
            <p:inputTextarea value="#{inputTextBean.propertyName}" autoResize="true"/>
            <p:inputTextarea value="#{inputTextBean.propertyName}" autoResize="false"/>
            <h:panelGroup>
                <h:panelGrid>
                    <p:inputTextarea value="#{inputTextBean.propertyName}" counter="display" maxlength="20" counterTemplate="{0} characters remaining" />
                    <h:outputText id="display" />
                </h:panelGrid>
            </h:panelGroup>
            <p:inputTextarea rows="10" cols="50" completeMethod="#{inputTextBean.completeArea}" queryDelay="750" minQueryLength="4" />
        </h:panelGrid>
    </h:body>
</html>
